package com.guanjia.entity;

/*
* 交易信息
* */

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

public class Bussiness {
    @TableId(type=IdType.AUTO)
    private Integer id;
    @TableField(value = "userId",fill = FieldFill.INSERT)
    private Integer userId;

    @TableField(value = "createtime",fill = FieldFill.INSERT)
    private Date createtime;  //交易时间
    private String type;    //交易类型
    private Double balancein;      //存入金额
    private Double balanceout;      //支出金额
    private Double balance;
    private String remarks;     //备注

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getBalancein() {
        return balancein;
    }

    public void setBalancein(Double balancein) {
        this.balancein = balancein;
    }

    public Double getBalanceout() {
        return balanceout;
    }

    public void setBalanceout(Double balanceout) {
        this.balanceout = balanceout;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
